package com.llxy.worker.service;

import com.llxy.worker.domain.Train;
import com.llxy.worker.dto.TrainDTO;

import java.util.List;

public interface TrainService{


    int deleteByPrimaryKey(Integer id);

    int insert(Train record);

    int insertSelective(Train record);

    TrainDTO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Train record);

    int updateByPrimaryKey(Train record);

    List<TrainDTO> selectTrainList(Long userId,Train train);

    Integer selectTrainListCount(Train train);

}
